home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-04
/
422mods.zip
/
PK002.422
< prev
next >
Wrap
Text File
|
1993-04-07
|
3KB
|
75 lines
Huh? You talking at me??? <RaNdOm TiTlE>
Prince Kheldar #1 @13466 7──══2Time Traveller7══──
Wed Mar 31 10:28:27 1993
7Msg Status2: 3No reply necessary.
┌───────────────────────────────────────────────────────────────────────────┐
│Mod Name: PK002.MOD Author: Prince Kheldar 1@3476 WWIVnet │
│Difficulty:█▓▓▓▓▓▓▓ 1@3476 Icenet, 1@1008 AssNet │
│WWIV Version: 4.22 1@13466 WWIVLink │
│Files affected: MSGBASE.C Date: 3-31-93 │
│ │
│Description: This mod adds the user note after the persons handle. │
│But it also has the added feature that is does not put the annoying │
│[] after their name if there is no note present. │
└───────────────────────────────────────────────────────────────────────────┘
Basically this mod makes this:
Prince Kheldar 1@3476 into this Prince Kheldar 1@3476 [The Bartender]
Also it will not add the annoying [] (brackets) after the name if there
is no note present, it will look like the first one.
Disclamier: If you use it, it's YOUR fault, it works on 422+, and older
versions of WWIV.
P.S: This mods was done by alot of diffrent people, I just made it better.
First:
You already know what to do with the source.
Second:
Look for this at the top of void inmsg:
char s[LEN],s1[LEN],s2[LEN],ro[81],fnx[81],chx,*ss,*ss1;
And, add ",header[81]" to the end, so it looks like this:
char s[LEN],s1[LEN],s2[LEN],ro[81],fnx[81],chx,*ss,*ss1, header[81];
Third:
Now, later in void inmsg, look for this, and delete it:
if (real_name)
addline(b,thisuser.realname,&l1);
else
addline(b,nam1(&thisuser,usernum,syscfg.systemnumber),&l1);
and replace it with this: (WATCH the SCREEN WRAP BELOW!)
if (real_name)
addline(b,thisuser.realname,&l1);
else {
if (thisuser.note[0]==0) {
addline(b,nam1(&thisuser,usernum,net_sysnum),&l1);
} else {
sprintf(header,"%s 7[1%s7]0",nam1(&thisuser,usernum,net_sysnum),thisuser.note
); /* <-WATCH THE SCREEN WRAP HERE! */
6 0 addline(b,header,&l1);
}
}
time(&ll); <- Existing Code (Do not add)
strcpy(s,ctime(&ll)); <- Existing Code (Do not add)
Piece of Pie eh? Thought so......
If you like this mod, drop me a line and let me know...
Prince Kheldar
1@3476 Icenet, WWIVnet
1@13466 WWIVLink, 1@1008 AssNet
5-=0 7Callahan's Crosstime Saloon 2314-939-41136 * 3St. Charles Mo 5=-
5 7 5 -=0 1WWIV7net 6@534767 1WWIV7Link0 6@5134660 5=-
5 0 5 -=0 1Ice7Net 6@534767 [2GSA7/2ASV7]5 1Ass7Net 6@51008 =-